package ipad.asia.service;

import com.alipay.api.AlipayApiException;

import ipad.asia.bean.AlipayBean;
import ipad.asia.utils.AlipayUtil;
import org.springframework.stereotype.Service;

@Service(value = "alipayOrderService")
public class PayServiceImpl implements PayService {
    @Override
    public String aliPay(AlipayBean alipayBean) throws AlipayApiException {
        return AlipayUtil.connect(alipayBean);
    }
}

